package com.wdd.owntool.ui.lazy

import android.view.View
import com.blankj.utilcode.util.LogUtils
import com.wdd.libbase.base.BaseFragment
import com.wdd.libbase.view.antiShakeClick
import com.wdd.owntool.R
import kotlinx.android.synthetic.main.fragment_lazy.*

/**
 *
 * @ProjectName:    OwnTool
 * @Package:        com.wdd.owntool.ui.lazy
 * @ClassName:      LazyFragment
 * @Description:     java类作用描述
 * @Author:         王丹丹
 * @CreateDate:     2019/12/21 13:23
 * @UpdateUser:     更新者
 * @UpdateDate:     2019/12/21 13:23
 * @UpdateRemark:   更新说明
 * @Version:        1.0
 */
class LazyFragment : BaseFragment() {
    override var isLazyLoad = true
    override fun getLayoutId(): Int {
        return R.layout.fragment_lazy
    }

    override fun initView(rootView: View?) {
        test_tv.antiShakeClick {
            LogUtils.d("快速点击")
        }
    }

    override fun initData() {
        LogUtils.d("懒加载请求数据")
    }


}